<template>
  <div>
    <div>
      <h4>MoCA量表</h4>
      <el-row type="flex" justify="space-between">
        <el-col>
          <span>MoCA量表</span>
          <div class="grid-content">
            <el-radio-group v-model="pgForm.moca_radio1" style="width: 100%;">
              <el-radio :label="3">已评</el-radio>
              <el-radio :label="6">未评</el-radio>
              <el-input v-model="pgForm.moca_input1" placeholder="备注" style="width: 50%;"></el-input>
            </el-radio-group>
          </div>
        </el-col>
        <el-col :span="8">
          <div>
            <span>视空间和执行力 </span>
            <el-input v-model="pgForm.moca_input2" placeholder="" style="width: 30%;"></el-input>
            <span> 分</span>
          </div>
        </el-col>
        <el-col :span="8">
          <div>
            <span>命名能力 </span>
            <el-input v-model="pgForm.moca_input3" placeholder="" style="width: 35%;"></el-input>
            <span> 分</span>
          </div>
        </el-col>
        <el-col :span="8">
          <div>
            <span>注意力 </span>
            <el-input v-model="pgForm.moca_input4" placeholder="" style="width: 40%;"></el-input>
            <span> 分</span>
          </div>
        </el-col>
        <el-col :span="8">
          <div>
            <span>语言 </span>
            <el-input v-model="pgForm.moca_input5" placeholder="" style="width: 50%;"></el-input>
            <span> 分</span>
          </div>
        </el-col>
        <el-col :span="8">
          <div>
            <span>抽象能力 </span>
            <el-input v-model="pgForm.moca_input6" placeholder="" style="width: 35%;"></el-input>
            <span> 分</span>
          </div>
        </el-col>
        <el-col :span="8">
          <div>
            <span>延迟记忆 </span>
            <el-input v-model="pgForm.moca_input7" placeholder="" style="width: 35%;"></el-input>
            <span> 分</span>
          </div>
        </el-col>
        <el-col :span="8">
          <div>
            <span>定向力 </span>
            <el-input v-model="pgForm.moca_input8" placeholder="" style="width: 40%;"></el-input>
            <span> 分</span>
          </div>
        </el-col>
        <el-col :span="8">
          <div>
            <span>总分 </span>
            <el-input v-model="pgForm.moca_input9" placeholder="" style="width: 50%;"></el-input>
            <span> 分</span>
          </div>
        </el-col>
        <el-col :span="11">
          <span>认知受损程度分级</span>
          <div class="grid-content">
            <el-radio-group v-model="pgForm.moca_radio2">
              <el-radio :label="1">正常</el-radio>
              <el-radio :label="2">轻度</el-radio>
              <el-radio :label="3">中度</el-radio>
              <el-radio :label="4">重度</el-radio>
              <el-input v-model="pgForm.moca_input10" placeholder="备注"></el-input>
            </el-radio-group>
          </div>
        </el-col>
        <el-col :span="11">
          <span>Rivermead行为记忆量表</span>
          <div class="grid-content">
            <el-radio-group v-model="pgForm.moca_radio3">
              <el-radio :label="3">已评</el-radio>
              <el-radio :label="6">未评</el-radio>
              <el-input v-model="pgForm.moca_input11" placeholder="备注"></el-input>
            </el-radio-group>
          </div>
        </el-col>
      </el-row>
    </div>
  </div>
</template>

<script>
export default {
  name: "moca",
  title: "MoCA量表",
  created() {
    if(this.istrans){
      this.pgForm=this.fromdata
    }
  },
  props: {
    fromdata:{},
    istrans:false,
  },
  data () {
    return {
      pgForm: {
        moca_input1: '',
        moca_input2: '',
        moca_input3: '',
        moca_input4: '',
        moca_input5: '',
        moca_input6: '',
        moca_input7: '',
        moca_input8: '',
        moca_input9: '',
        moca_input10: '',
        moca_input11: '',

        moca_radio1: '',
        moca_radio2: '',
        moca_radio3: '',
      },
    };
  }
}
</script>

<style scoped>
.el-row{
  margin: 10px 0;
  padding: 20px 20px;
  background-color: #f9f9f9;
  flex-wrap: wrap;
  flex-direction: row;
}
.el-col {
  margin:10px 0;
}
.el-radio-group{
  padding: 10px 20px;
}
.el-radio{
  display: block;
  margin-bottom: 15px;
}
</style>
